package cz.khfotbal.service;

import java.util.List;

import cz.khfotbal.domain.Competion;
import cz.khfotbal.domain.Player;
import cz.khfotbal.domain.Season;
import cz.khfotbal.domain.Team;
import cz.khfotbal.domain.User;

public interface TeamService {

	public List<Team> getAllTeams();

	public void updateTeam(Team selectedTeam);

	public void createTeam(Team newTeam);

	public void deleteTeam(Team selectedTeam);

	public List<Team> getTeamsBySeasonAndCompetion(Season season,
			Competion competion);

	public void addTeamToCompetion(Team team, Competion competion, Season season, int number, String playDay, String playTime);

	public void updateTeamToCompetion(Team team, Competion competion, Season season, int number, String playDay, String playTime);
		
	public List<Team> getTeamBySeasonCompetion(Season season,
			Competion competion);

	public void addPlayerToTeam(Player player, Competion competion,
			Season season, Team team);

	public void deleteTeamBySeasonAndCompetion(Season season,
			Competion competion, Team team);

	public List<Team> getTeamsByUser(User loggedUser);

}
